
// button object
local PANEL = {};


/*------------------------------------
	initialize number slider
------------------------------------*/
function PANEL:Init( )

	// custom paint hook
	Derma_Hook( self.Slider, "Paint", "Paint", "MXSlider" );
	
	// remove default label
	self.Label:Remove();
	
	// create custom label
	self.Label = vgui.Create ( "MXLabel", self );
	
	// hook for skins to change
	MuseX.SkinHook( "SliderKnob", self.Slider, "SetImage" );

end

// define
derma.DefineControl( "MXNumSlider", "", PANEL, "DNumSlider" );
